package com.chenliang.nacos.interceptor;

import feign.RequestInterceptor;
import feign.RequestTemplate;
import org.springframework.cloud.client.loadbalancer.Request;

/**
 * @program: springcloud_all
 * @description:
 * @author: 陈亮
 * @create: 2022-04-06 21:15
 */
public class FeignInterceptor implements RequestInterceptor {
    @Override
    public void apply(RequestTemplate requestTemplate) {
        // 打印日志
        // 处理参数之类
        System.out.println("进行打印");
        System.out.println("进行打印");
        System.out.println("进行打印");
        System.out.println("进行打印");
        System.out.println("进行打印");
        System.out.println("进行打印");
        System.out.println("进行打印");
        System.out.println("进行打印");
        System.out.println("进行打印");
        System.out.println("进行打印");


    }
}
